#ifndef GENERALSETTINGS_H
#define GENERALSETTINGS_H

#include <lgpl-components/dialogs/ioptionspage.h>

class QWidget;

namespace Ui {
    class GeneralSettings;
}

class GeneralSettings : public Core::IOptionsPage
{
    Q_OBJECT

public:
    explicit GeneralSettings(QObject *parent = 0);
    ~GeneralSettings();

    QString id() const;
    QString displayName() const;
    QString category() const;
    QString displayCategory() const;
    QIcon categoryIcon() const;
    bool matches(const QString & /* searchKeyWord*/) const;

    QWidget *createPage(QWidget *parent);
    void apply();
    void finish();

private:
    Ui::GeneralSettings *ui;

    QString m_keywords;
};

#endif // GENERALSETTINGS_H
